package com.lyy.king.common.rpc.annotations;
import com.lyy.king.common.rpc.config.LearningInterfaceScan;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 启用 dubbo扫描
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(LearningInterfaceScan.class)
public @interface EnableLearningApiInterfaceServices {
    /**
     * 扫描包的路径
     * @return
     */
    String[] basePackages() default {};
}